Skip to content

ci: weekly upstream-sync workflow (anomalyco/opencode -> dev) - #2

Open
pankaj4u4m wants to merge 2 commits into
devfrom
chore/add-upstream-sync-workflow
Open

ci: weekly upstream-sync workflow (anomalyco/opencode -> dev)#2
pankaj4u4m wants to merge 2 commits into
devfrom
chore/add-upstream-sync-workflow

Conversation

@pankaj4u4m

Copy link
Copy Markdown

Adds .github/workflows/sync-upstream.yml: runs every Monday (+ manual
workflow_dispatch), fetches anomalyco/opencode's dev, and opens a PR
merging it into this fork's dev.

  • Never auto-merges — always lands as a PR (labeled upstream-sync) for
    human review.
  • On a clean merge: opens the PR as-is.
  • On conflicts: commits the merge with conflict markers left in place on
    the branch and opens the PR anyway, listing the conflicted files, so
    resolution happens in-branch instead of blocking silently.
  • Skips the run if an upstream-sync PR is already open, so unresolved
    syncs don't pile up.
  • No-ops (no PR) if there are zero new upstream commits.

Companion to #1, which did the first sync manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant